using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAOLayer;
using System.Data;

namespace BUSLayer
{
    public class HoaDonBus
    {
        public static void Them(HoaDonDto hd)
        {
            HoaDonDao.Them(hd);
        }
        public static  double TinhTongDoanhThuCuaThang(int thang)//int thang)
        {
            double tt = 0;
            tt = HoaDonDao.TinhTongDoanhThuCuaThang(thang);
            return tt;
        }
        public static DataTable LayTatCaCacThangThanhToan()
        {
            DataTable dt = new DataTable();
            dt = HoaDonDao.LayTatCaCacThangThanhToan();
            return dt;

        }
    }
}
